distance_function1 Interface

interface
public function distance_function1(distance, vector1, vector2) result(d)

Arguments

Type IntentOptional Attributes Name
class(distance_base) :: distance

A distance_base object

real(kind=wp), intent(inout), dimension(:,:) :: vector1

A real vector

real(kind=wp), intent(inout), dimension(:,:) :: vector2

A real vector

Return Value real(kind=wp)

A real variable with the distance

Description

Template for the calculate function Import section